package org.example.booklist.service;

import org.example.booklist.mapper.UserInfoMapper;
import org.example.booklist.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;



@Service
public class UserService {

    @Autowired
    private UserInfoMapper userInfoMapper;

   public UserInfo getUserInfoByName(String userName){
       return userInfoMapper.getUserInfoByName(userName);
   }



}
